package kgc.crm.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
    * 商机状态组类别
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "kgc_crm_crm_business_type")
public class BusinessType {
    @TableId(value = "type_id", type = IdType.AUTO)
    private Integer typeId;

    /**
     * 标识
     */
    @TableField(value = "name")
    private String name;

    /**
     * 部门ID
     */
    @TableField(value = "dept_ids")
    private String deptIds;

    /**
     * 创建人ID
     */
    @TableField(value = "create_user_id")
    private Long createUserId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 1启用0禁用
     */
    @TableField(value = "status")
    private Integer status;

    public static final String COL_TYPE_ID = "type_id";

    public static final String COL_NAME = "name";

    public static final String COL_DEPT_IDS = "dept_ids";

    public static final String COL_CREATE_USER_ID = "create_user_id";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_STATUS = "status";
}